package com.pattern.decorator;

/**
 * @author 冯志立
 * @create 2019-10-30 10:37
 */
//具体的Decorator
public class Chocolate extends Decorator {
    public Chocolate(Drink obj) {
        super(obj);
        setDes("巧克力");
        setPrice(3.0f);   //调味品的价格
    }
}
